package starsservice.com.kc.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import starsservice.com.kc.bean.AccountPassowrd;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author jobob
 * @since 2019-12-13
 */
public interface AccountPassowrdMapper extends BaseMapper<AccountPassowrd> {

    @Select("select phone,account_passowrd from account_passowrd ${ew.customSqlSegment}")
    AccountPassowrd selectByphone(@Param(Constants.WRAPPER) Wrapper wrapper);

    @Select("select phone,job_number from account_passowrd ${ew.customSqlSegment}")
    AccountPassowrd selectByjobnumber(@Param(Constants.WRAPPER) Wrapper wrapper);
}
